import { post } from '../utils/axios'

export function RankList() {
  return post('/api/rankList')
}

// 挖宝
export function WbShop() {
  return post('/api/getWbShop')
}
export function BatchBuy(data) {
  return post('/api/batchBuy', data)
}

// 挖宝铲子 列表
export function WbList(data) {
  return post('/api/getWxBoxList', data)
}
// 粽子的
export function WbZongList(data) {
  return post('/api/getZongList', data)
}
// 开宝
export function OpenGiff(data) {
  return post('/api/openWbBox', data)
}
export function OpenZongGiff(data) {
  return post('/api/openZong', data)
}
export function NoticeList(data) {
  return post('/api/noticeList', data)
}
export function RecordList(data) {
  return post('/api/getWbLotteryRecord', data)
}

// 情人节
export function joinRoom(data) {
  return post('/api/joinGroup', data)
}
export function getValentineList(data) {
  return post('/api/jackpot/getList', data)
}
export function getValentineNoticeList(data) {
  return post('/api/jackpot/noticeList', data)
}
export function buyTicket(data) {
  return post('/api/ticket/buy', data)
}
export function openBox(data) {
  return post('/api/jackpot/openBox', data)
}
export function getDebrisList(data) {
  return post('/api/debris/getList', data)
}
export function debrisBuy(data) {
  return post('/api/debris/buy', data)
}
export function getValentinRecord(data) {
  return post('/api/jackpot/getWbLotteryRecord', data)
}
export function getValentinTaskList(data) {
  return post('/api/jackpot/getTaskList', data)
}
export function getValentinRankList(data) {
  return post('/api/jackpot/getPointRanking', data)
}
export function getValentinRecordList(data) {
  return post('/api/debris/getDebrisLogList', data)
}

export function getDayLots(data) {
  return post('/api/ssqdraw/openBox', data)
}
export function getDayLotsRecord(data) {
  return post('/api/ssqdraw/getLotteryRecord', data)
}
export function getDayLotsInfo(data) {
  return post('/api/ssqdraw/getList', data)
}

export function getAirplaneInfo(data) {
  return post('/api/tansuo/getList', data)
}
export function getAirplane(data) {
  return post('/api/tansuo/openBox', data)
}
export function getAirplaneRecord(data) {
  return post('/api/tansuo/getLotteryRecord', data)
}
export function buyFerrisTicket(data) {
  return post('/api/tansuo/batchBuy', data)
}
export function getFerrisTicket(data) {
  return post('/api/tansuo/getMtlShop', data)
}

export function getJieJiuData(data) {
  return post('/api/jiejiu/getList', data)
}
export function getJieJiuOpen(data) {
  return post('/api/jiejiu/openBox', data)
}
export function getJieJiuRecord(data) {
  return post('/api/jiejiu/getWbLotteryRecord', data)
}

export function sumRankYear(data) {
  return post('/api/annualRank', data)
}
